PHY GET RIGID BODY TYPE

Returns an integer indicating the type of rigid body that is associated with the 3D object.

  Syntax
Return Integer=PHY GET RIGID BODY TYPE(ID)
  Parameters
ID
Integer
identification number of the rigid body

  Returns

the following values are used to indicate rigid body type: 1, static box 2, dynamic box 3, static sphere 4, dynamic sphere 5, static capsule 6, dynamic capsule 7, static mesh 8, static terrain

  Description

If you reference an object that does not have a rigid body this command will fail and an error message will be displayed.

  Example Code
No example code is provided for this command